package com.hzf.material.dao.mapper;

import com.hzf.material.dao.model.MaterialGoodsPic;
import com.hzf.material.dao.model.MaterialGoodsPicExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MaterialGoodsPicMapper {
    long countByExample(MaterialGoodsPicExample example);

    int deleteByExample(MaterialGoodsPicExample example);

    int deleteByPrimaryKey(Integer picId);

    int insert(MaterialGoodsPic record);

    int insertSelective(MaterialGoodsPic record);

    List<MaterialGoodsPic> selectByExample(MaterialGoodsPicExample example);

    MaterialGoodsPic selectByPrimaryKey(Integer picId);

    int updateByExampleSelective(@Param("record") MaterialGoodsPic record, @Param("example") MaterialGoodsPicExample example);

    int updateByExample(@Param("record") MaterialGoodsPic record, @Param("example") MaterialGoodsPicExample example);

    int updateByPrimaryKeySelective(MaterialGoodsPic record);

    int updateByPrimaryKey(MaterialGoodsPic record);
}